package com.ruoyi.system.mapper.car4s_mapper;

import java.util.List;
import com.ruoyi.system.domain.car4s_domain.Car4sCustomerPointsDetail;

/**
 * 客户积分明细Mapper接口
 * 
 * @author LK
 * @date 2024-06-29
 */
public interface Car4sCustomerPointsDetailMapper 
{
    /**
     * 查询客户积分明细
     * 
     * @param pointsId 客户积分明细主键
     * @return 客户积分明细
     */
    public Car4sCustomerPointsDetail selectCar4sCustomerPointsDetailByPointsId(Long pointsId);

    /**
     * 查询客户积分明细列表
     * 
     * @param car4sCustomerPointsDetail 客户积分明细
     * @return 客户积分明细集合
     */
    public List<Car4sCustomerPointsDetail> selectCar4sCustomerPointsDetailList(Car4sCustomerPointsDetail car4sCustomerPointsDetail);

    /**
     * 新增客户积分明细
     * 
     * @param car4sCustomerPointsDetail 客户积分明细
     * @return 结果
     */
    public int insertCar4sCustomerPointsDetail(Car4sCustomerPointsDetail car4sCustomerPointsDetail);

    /**
     * 修改客户积分明细
     * 
     * @param car4sCustomerPointsDetail 客户积分明细
     * @return 结果
     */
    public int updateCar4sCustomerPointsDetail(Car4sCustomerPointsDetail car4sCustomerPointsDetail);

    /**
     * 删除客户积分明细
     * 
     * @param pointsId 客户积分明细主键
     * @return 结果
     */
    public int deleteCar4sCustomerPointsDetailByPointsId(Long pointsId);

    /**
     * 批量删除客户积分明细
     * 
     * @param pointsIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCar4sCustomerPointsDetailByPointsIds(Long[] pointsIds);
}
